@import "module";

//商品模板-放大镜
.detail_outer{
    border-top: 2px solid #f4c332;
    .detail{
        margin-top: 30px;
        margin-bottom: 30px;
        &_left{
            float: left;
            width: 500px;
            position: relative;
            .origin{
                width: 500px;
                height: 500px;
                border-radius: 4px;
                // background-color: #fff;
                background: #fff url('../imgs/ban.jpg') no-repeat 20px 20px;
                background-size: 120px 40px;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                -ms-border-radius: 4px;
                -o-border-radius: 4px;
                img{
                    width: 500px;
                    // color: #41c76d;
                    height: 500px;
                }
                &:hover{
                    .img_mask{
                        position: absolute;
                        width: 250px;
                        height: 250px;
                        background-color: rgba(65 ,204, 110,.4);
                        cursor:move;
                        border-radius: 3px;
                        -webkit-border-radius: 3px;
                        -moz-border-radius: 3px;
                        -ms-border-radius: 3px;
                        -o-border-radius: 3px;
                    }
                }
            }
            .detail_imgs{
                width: 500px;
                height: 100px;
                margin: 20px 0;
                .detail_img{
                    float: left;
                    cursor: pointer;
                    margin-left: 16px;
                    box-sizing: border-box;
                    border: 3px solid #f0f0f0;
                    &:first-of-type{
                        margin-left:0 ;
                    }
                    transition: all .3s;
                    &:hover{
                        border-bottom-color: #41cc6e;
                    }
                    img{
                        width: 80px;
                    }
                }
            }
            .magnify{
                // background: linear-gradient(145deg, #7fe4a0, #f7c328, #56da80);
                background-color: #fff;
                position: absolute;
                top: 0;
                left: 510px;
                width: 600px;
                height: 600px;
                overflow: hidden;
                display: none;
                img{
                    position: absolute;
                    width: 750px;
                    height: 750px;
                }
                border-radius: 3px;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                -ms-border-radius: 3px;
                -o-border-radius: 3px;
            }
        }
        &_right{
            float: left;
            width: 700px;
            box-sizing: border-box;
            padding: 20px;
            h2{
                font-weight: bold;
                color: #41c76d;
                span{
                    font-size: 20px;
                    color: #333;
                }
            }
            h3{
                line-height: 40px;
                font-weight: bold;
                color: #666;
                text-indent: 1em;
                font-size: 14px;
            }
            .price_con{
                width: 100%;
                margin-top: 20px;
                margin-left: 10px;
                padding: 20px;
                box-sizing: border-box;
                height: 130px;
                border-top: 4px solid #55dd82;
                border-radius: 0 3px 3px 0;
                -webkit-border-radius: 0 3px 3px 0;
                -moz-border-radius: 0 3px 3px 0;
                -ms-border-radius: 0 3px 3px 0;
                -o-border-radius: 0 3px 3px 0;
                //background-color: #e5f9cd;
                background: #e4f9f8 url("../imgs/robot.png") no-repeat 500px 10px;
                p{
                    font-weight: bold;
                    line-height: 30px;
                }
                .price{
                    color: red;
                    font-size: 20px;
                    font-family: fantasy;
                    font-weight: normal;
                }
                .o-price{
                    color: #666;
                    font-size: 14px;
                }
                .post-b{
                    margin-left: 40px;
                }
                .x-price{
                    color: #f44336;
                    margin:0 10px;
                    font-family: fantasy;
                    font-weight: normal;
                }
            }
            .num_area{
                margin-left: 30px;
                margin-top: 30px;
                overflow: hidden;
                height: 50px;
                span{
                    float: left;
                    line-height: 50px;
                    &:first-of-type{
                        color: #555;
                    }
                }
                input{
                    height: 30px;
                    width: 30px;
                    float: left;
                    margin-top: 10px;
                    font-family: 'cursive','Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
                }
                input[type='text']{
                    width: 36px;
                    text-align: center;
                    border: 1px solid #41cc6e;
                    box-sizing: border-box;
                }
                input[type='button']{
                    cursor: pointer;
                    font-weight: bold;
                    font-size: 20px;
                    color: white;
                    background-color: #41cc6e;
                    &:hover{
                        color: yellow;
                    }
                }
            }
            .buy_area{
                margin-left: 20px;
                margin-top: 30px;
                overflow: hidden;
                button{
                    width: 200px;
                    height: 40px;
                    text-align: center;
                    font-size: 20px;
                    border-radius: 4px;
                    -webkit-border-radius: 4px;
                    -moz-border-radius: 4px;
                    -ms-border-radius: 4px;
                    -o-border-radius: 4px;
                    border: 2px solid #41cc6e;
                    margin-right: 20px;
                    &:first-of-type{
                        background-color: #c4f9d3;
                        color: #666;
                    }
                    &:last-of-type{
                        background-color: #41cc6e;
                        color: white;
                    }
                    &:hover{
                        opacity: .8;
                    }
                }
            }
            .service{
                margin: 18px;
                img{
                    box-sizing: border-box;
                    border: 2px solid #DDF;
                }
            }
        }
    }
}

